// 左侧功能选项
import { getOnlyKey } from '@/utils'
export const isTextComponent = 1
export const isImgComponent = 2
export const isTplComponent = 3
export const isGraphComponent = 4

export const LEFT_MENU = [
	{
		title: '文本',
		index: isTextComponent,
		key: getOnlyKey(),
		icon: 'iconfont icon-wenzixiaoguo',
	},
	{
		title: '照片',
		index: isImgComponent,
		key: getOnlyKey(),
		icon: 'iconfont icon-background',
	},
	{
		title: '模版',
		index: isTplComponent,
		key: getOnlyKey(),
		icon: 'iconfont icon-paiban',
	},
	{
		title: '素材',
		index: isGraphComponent,
		key: getOnlyKey(),
		icon: 'iconfont icon-sucai',
	},
]

// 共有属性
export const defualtCommonStyle = {
	position: 'absolute',
	top: 0,
	left: 0,
	width: 80,
	height: 80,
	borderRadius: '0%',
	borderStyle: 'none',
	borderWidth: '0',
	borderColor: '#ffffff00',
	transform: 0, // "rotate(0deg)"
}
